import  re
#正则表达式匹配电子邮箱地址
pattern = r'[a-zA-Z0-9_.-]+@[A-Za-Z0-9_._]+\.[a-zA-Z0-9_.-]+'
text = "请发送邮件到support@dell.com 以获取帮助"

#返回值是一个对象
match = re.search(pattern, text)
print(match)

if match:
    print("找到了:", match.group())